import BaseService from '@/common/baseServiceV2.js'
import CategoryListModel from './model/categoryListModel.js'
export default class EstimateService extends BaseService {
	/* 
	interface EstimateService(){
		function moreInfo()
	}
	 */
	constructor(func) {
		super()
		this.data=new CategoryListModel().data
		this.func=func
	}
	
	setRefresh(source){
		let model = new CategoryListModel(source,this.func)
		super.refresh(model)
	}
	setMore(source){
		let model = new CategoryListModel(source,this.func)
		super.loadMore(model)
	}
}